<?php
/**
 ***** 扶摇而上、抱守本真 ******
 * @author Dana
 * @Date 2021/6/21
 */

class Animals{

    protected $name;

    final public function __construct($name)
    {
        $this->name = $name;
    }

    protected function sleep()
    {
        return $this->name .'like sleep' ;
    }

    private function uniqueD(){
        return $this->name .'has unique DNA';
    }

    public function getName(){
        return $this->name;
    }



}